package com.ktkj.init.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel
@Data
public class RoleInfoForm {

    @NotBlank(message = "角色编号不能为空！")
    @ApiModelProperty(value = "角色编号", example = "")
    private String roleCode;

    @NotBlank(message = "角色名称不能为空！")
    @ApiModelProperty(value = "角色名称", example = "")
    private String roleName;

    @ApiModelProperty(value = "权限id集合（多个id用,隔开）", example = "1,2,3")
    private String permissionInfoIds;

    @ApiModelProperty(value = "id(修改时必须输入)", example = "1")
    private Long id;

}
